//
//  HFOLsectionBar.h
//  HFOuLiao
//
//  Created by haifeng on 16/7/6.
//  Copyright © 2016年 sangziwangluo. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HFOLsectionBar;
@protocol OLsectionBarDelegate;
@protocol OLsectionBarDelegate <NSObject>
- (void)sectionBar:(HFOLsectionBar *)sectionBar selectButtonIndex:(NSInteger )index;
@end

@interface HFOLsectionBar : UIScrollView
@property (nonatomic, strong) NSMutableArray *titleArray;
@property (nonatomic, assign) CGFloat offset;
@property (nonatomic, assign) NSInteger pag;
@property (nonatomic, assign) NSInteger index;
@property (nonatomic, assign) id<OLsectionBarDelegate> sectionBardelegate;
@end
